58889d4804587ba6992954f3f6c3184a8f9c4a76,plugin/src/main/java/com/itemis/maven/plugins/unleash/steps/actions/PreparePomVersions.java,PreparePomVersions,updateParentVersion,#MavenProject#,119
Before Change
if (post != null) {
// null indicates that the parent is not part of the reactor projcets since no release version had been
// calculated for it
parent.setVersion(post.getVersion());
this.log.debug("Adapted the parent version of module '" + project.getGroupId() + ":" + project.getArtifact()
+ "': " + pre.getVersion() + " => " + post.getVersion());
}
After Change
// null indicates that the parent is not part of the reactor projects since no release version had been calculated
// for it
if (newCoordinates != null) {
// first step: update parent version of the in-memory model
parent.setVersion(newCoordinates.getVersion());
// second step: update the parent version in the DOM document that will be serialized for later building
Node parentNode = document.getDocumentElement().getElementsByTagName(NODE_NAME_PARENT).item(0);